package test;

import java.io.IOException;

import org.objectweb.proactive.ActiveObjectCreationException;
import org.objectweb.proactive.api.PAActiveObject;

public class Main {

	public static void main(String[] args) throws ActiveObjectCreationException, IOException {
		
		SayHello hello = PAActiveObject.lookupActive(SayHello.class, "rmi://jerome-laptop.local:1099/49a6d1e6-12ec97b04d5--7fe1--583c10bfdbd326ba-49a6d1e6-12ec97b04d5--8000");
		
		hello.helloWorld();
		
		PAActiveObject.terminateActiveObject(hello, true);

	}

}
